package projectEuler.net;

import junit.framework.TestCase;

public class FactorierAnalizeTest extends TestCase {
	public void testTwo(){
		int[] tstResult = FactorierAnalize.analysToFactorier(2);
		assertEquals(tstResult.length, 1);
		assertEquals(tstResult[0], 2);
	}
	public void testThree(){
		int[] tstResult = FactorierAnalize.analysToFactorier(3);
		assertEquals(tstResult.length, 1);
		assertEquals(tstResult[0], 3);
	}
	public void testFour(){
		int[] tstResult = FactorierAnalize.analysToFactorier(4);
		assertEquals(tstResult.length, 2);
		assertEquals(tstResult[0], 2);
		assertEquals(tstResult[1], 2);
	}
}
